package com.xiaoyun.xpath;

import java.util.Map;

public class HandlerUtils {

    public static boolean isNotNullMap(Map<String, String> mappingMap) {
        return mappingMap != null && mappingMap.size() > 0;
    }

    public static String getMethodName(String fieldName) {
        return "set" + fieldName.substring(0, 1).toUpperCase() + fieldName.substring(1);
    }
}
